<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jQuery.js"></script>
    <script>
        //表单选择器
        $(function(){
           alert($("input").val());

        })
    </script>
</head>
<body>
  <div>月亮</div>
  <input type="text"  value="但是"/><br/>
  <input type="button" id="bt" value="但是1"/>
</body>
</html>